package com.start.boot.web;

import com.start.boot.common.SystemConfiguration;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/test")
public class TestController {

    @Autowired
    SystemConfiguration systemConfiguration;

    @RequestMapping("/refresh")
    public String test() throws Exception {
        systemConfiguration.init();
        return "刷新数据配置成功!";
    }



}
